package com.wclass.service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.wclass.entity.BaseDiscount;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 优惠券管理 服务类
 * </p>
 *
 * @author SEN
 * @since 2019-02-25
 */
public interface IBaseDiscountService extends IService<BaseDiscount> {

    void insertInfo(Long valueOf, Long userID, Integer number, Date starDate, Date endDate, Long amount);

    List<Integer> selectCountByCourseId(EntityWrapper<BaseDiscount> ew);
}
